package com.jisf.driver.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jisf.driver.entity.dto.UserChatDto;
import com.jisf.driver.entity.dto.UserListRequestDto;
import com.jisf.driver.entity.po.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jisf.driver.entity.vo.UserListVo;

import java.util.List;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author jisf
 * @since 2022-04-08
 */
public interface UserMapper extends BaseMapper<User> {

    List<UserListVo> selectUsers(UserListRequestDto userListRequestDto, Page<User> page);

    List<UserChatDto> getUserChat(Integer roleId);
}
